# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'GUIbocateria.ui'
#
# Created: Wed Jun 18 19:21:36 2014
#      by: PyQt4 UI code generator 4.11
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_bocataPrincipal(object):
    def setupUi(self, bocataPrincipal):
        bocataPrincipal.setObjectName(_fromUtf8("bocataPrincipal"))
        bocataPrincipal.resize(497, 330)
        self.centralwidget = QtGui.QWidget(bocataPrincipal)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.lcdResultado = QtGui.QLCDNumber(self.centralwidget)
        self.lcdResultado.setGeometry(QtCore.QRect(330, 20, 141, 61))
        self.lcdResultado.setSmallDecimalPoint(True)
        self.lcdResultado.setDigitCount(6)
        self.lcdResultado.setProperty("value", 0.0)
        self.lcdResultado.setObjectName(_fromUtf8("lcdResultado"))
        self.bCalcular = QtGui.QPushButton(self.centralwidget)
        self.bCalcular.setGeometry(QtCore.QRect(350, 100, 101, 51))
        self.bCalcular.setObjectName(_fromUtf8("bCalcular"))
        self.bCalcularTotal = QtGui.QPushButton(self.centralwidget)
        self.bCalcularTotal.setGeometry(QtCore.QRect(20, 270, 111, 51))
        self.bCalcularTotal.setObjectName(_fromUtf8("bCalcularTotal"))
        self.bSalir = QtGui.QPushButton(self.centralwidget)
        self.bSalir.setGeometry(QtCore.QRect(410, 290, 75, 23))
        self.bSalir.setObjectName(_fromUtf8("bSalir"))
        self.layoutWidget = QtGui.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(40, 30, 151, 74))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.formLayout = QtGui.QFormLayout(self.layoutWidget)
        self.formLayout.setMargin(0)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.eNumBocadillo = QtGui.QLabel(self.layoutWidget)
        self.eNumBocadillo.setObjectName(_fromUtf8("eNumBocadillo"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.eNumBocadillo)
        self.cNumBocadillo = QtGui.QSpinBox(self.layoutWidget)
        self.cNumBocadillo.setObjectName(_fromUtf8("cNumBocadillo"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.cNumBocadillo)
        self.eNumRefresco = QtGui.QLabel(self.layoutWidget)
        self.eNumRefresco.setObjectName(_fromUtf8("eNumRefresco"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.eNumRefresco)
        self.cNumRefresco = QtGui.QSpinBox(self.layoutWidget)
        self.cNumRefresco.setObjectName(_fromUtf8("cNumRefresco"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.cNumRefresco)
        self.eNumCerveza = QtGui.QLabel(self.layoutWidget)
        self.eNumCerveza.setObjectName(_fromUtf8("eNumCerveza"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.eNumCerveza)
        self.cNumCerveza = QtGui.QSpinBox(self.layoutWidget)
        self.cNumCerveza.setObjectName(_fromUtf8("cNumCerveza"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cNumCerveza)
        self.borrado = QtGui.QPushButton(self.centralwidget)
        self.borrado.setGeometry(QtCore.QRect(40, 140, 75, 23))
        self.borrado.setObjectName(_fromUtf8("borrado"))
        bocataPrincipal.setCentralWidget(self.centralwidget)

        self.retranslateUi(bocataPrincipal)
        QtCore.QObject.connect(self.bSalir, QtCore.SIGNAL(_fromUtf8("clicked()")), bocataPrincipal.close)
        QtCore.QMetaObject.connectSlotsByName(bocataPrincipal)
        bocataPrincipal.setTabOrder(self.cNumBocadillo, self.cNumRefresco)
        bocataPrincipal.setTabOrder(self.cNumRefresco, self.cNumCerveza)
        bocataPrincipal.setTabOrder(self.cNumCerveza, self.bCalcular)
        bocataPrincipal.setTabOrder(self.bCalcular, self.bCalcularTotal)
        bocataPrincipal.setTabOrder(self.bCalcularTotal, self.bSalir)

    def retranslateUi(self, bocataPrincipal):
        bocataPrincipal.setWindowTitle(_translate("bocataPrincipal", "Bocateria", None))
        self.bCalcular.setText(_translate("bocataPrincipal", "Calcular", None))
        self.bCalcularTotal.setText(_translate("bocataPrincipal", "Calcular total dia", None))
        self.bSalir.setText(_translate("bocataPrincipal", "Salir", None))
        self.eNumBocadillo.setText(_translate("bocataPrincipal", "Numero de bocadillos", None))
        self.eNumRefresco.setText(_translate("bocataPrincipal", "Numero de refrescos", None))
        self.eNumCerveza.setText(_translate("bocataPrincipal", "Numero de cervezas", None))
        self.borrado.setText(_translate("bocataPrincipal", "Borrar", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    bocataPrincipal = QtGui.QMainWindow()
    ui = Ui_bocataPrincipal()
    ui.setupUi(bocataPrincipal)
    bocataPrincipal.show()
    sys.exit(app.exec_())

